<?php
/**
 * 文件说明.
 * 
 * @author Kun Xu <kunx@jumei.com>
 */
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'id' => 'user-active_form-form',
    'htmlOptions' => array('class' => 'well'),
        //    'enableAjaxValidation' => true,
        )
);
?>
<p class="note">带 <span class="required">*</span> 为必填项.</p>
<?php
echo $form->errorSummary($model);
echo $form->textFieldRow($model, 'user_id');
echo $form->dropdownlistRow($model, 'bucket', UserUploadFile::getBucketList(), array('prompt' => '请选择'));
echo $form->textFieldRow($model, 'image_type');
echo $form->textFieldRow($model, 'image_width');
echo $form->textFieldRow($model, 'image_height');
echo $form->textFieldRow($model, 'upload_time');
?>
<div class="form-actions">
    <?php
    $this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'submit', 'label' => '修改', 'type' => 'primary'));
    ?>
</div>
<?php
$this->endWidget();
